/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pckCompSup;

import javax.swing.JTextField;

/**
 *
 * @author Portable-Maison
 */
public class JTextFieldMaxLength extends JTextField {

  public JTextFieldMaxLength(int length){
    this(null,length);
  }

  public JTextFieldMaxLength(String text, int length){
    super(new PlainDocumentMaxLength(length),text,length);
  }
}